/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package view.tabbedpane;

import javax.swing.GroupLayout;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;

import view.statistic.StatisticPanelDay;
import view.statistic.StatisticPanelMonth;
import view.statistic.StatisticPanelYear;

public class StartisticTabbedPane extends JPanel {
	private static final long serialVersionUID = 1L;
	public StartisticTabbedPane() {
        initComponents();
    }
    private void initComponents() {

    	tabPaneStar = new JTabbedPane();
        day = new StatisticPanelDay();
        month = new StatisticPanelMonth();
        year = new StatisticPanelYear();

        setForeground(new java.awt.Color(255, 255, 255));

        tabPaneStar.addTab("Day", day);
        tabPaneStar.addTab("Month", month);
        tabPaneStar.addTab("Year", year);

        GroupLayout layout = new GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addComponent(tabPaneStar)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(GroupLayout.Alignment.LEADING)
            .addComponent(tabPaneStar)
        );
    }


    private StatisticPanelDay day;
    private StatisticPanelMonth month;
    private StatisticPanelYear year;
    private JTabbedPane tabPaneStar;
}
